package com.doodod.common.utils;

import java.util.logging.Logger;

/**
 * 采用log4j日志打印类
 *
 * Created with IntelliJ IDEA.
 * User: ydw
 * Date: 2015/4/29
 * Time: 12:48
 */
public class Log4j {

    public static void main(String[] args) {
        //Get an instance of the myLogger

        Logger myLogger = Logger.getLogger(Log4j.class.getName());

        //Log Messages using the Parent Logger
        myLogger.info("Thie is a log message from the " + myLogger.getName());
    }
}
